<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<form class="form-horizontal" action="BT" method="POST">
{{ csrf_field() }}

<div class="form-group">
    <label for="inputEmail3" class="col-sm-2 control-label">账号</label>
    <div class="col-sm-10">
      <input type="text"   placeholder="手机/邮箱/个人空间地址">
    </div>
  </div>

  
  <div class="form-group">
    <label for="inputEmail3" class="col-sm-2 control-label">Tel</label>
    <div class="col-sm-10">
      <input type="text"   placeholder="Tel" id="Tel">
    </div>
  </div>

  <div class="form-group">
    <label for="inputEmail3" class="col-sm-2 control-label">验证码</label>
    <div class="col-sm-10">
      <input type="text"   placeholder="请输入验证码">
      <button type="submit" class="btn btn-default" id="Hq">获取验证码</button>
    </div>
  </div>


  <div class="form-group">
    <label for="inputEmail3" class="col-sm-2 control-label">邮箱</label>
    <div class="col-sm-10">
      <input type="email"  id="inputEmail3" placeholder="邮箱">
    </div>
  </div>
  
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <div class="checkbox">
        <label>
          <input type="checkbox"> Remember me
        </label>
      </div>
    </div>
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-default">Sign in</button>
    </div>
  </div>
</form>

<script>
$("#Hq").on('click',function(){
    var tel = $("#Tel").val();

    $.ajax({
        type:'GET',
        url:"http://love.week.com/H",
        data:{tel:tel},
        dataType:'json',
        success:function( res )
        {
            alert(res.msg);
        }
    })
})
</script>